package com.ihr360.binlog.model;

import java.io.Serializable;
import java.util.Arrays;
import java.util.HashMap;

public class Email implements Serializable {
    private String[] RecipientMail;//收件人邮箱
    private String subject;//主题
    private HashMap<String, String> model;//邮件内容自定义参数
    private String template;//模板

    public Email() {
    }

    public String[] getRecipientMail() {
        return RecipientMail;
    }

    public void setRecipientMail(String[] recipientMail) {
        RecipientMail = recipientMail;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }


    public String getTemplate() {
        return template;
    }

    public void setTemplate(String template) {
        this.template = template;
    }

    public HashMap<String, String> getContentMap() {
        return model;
    }

    public void setContentMap(HashMap<String, String> contentMap) {
        this.model = contentMap;
    }

    @Override
    public String toString() {
        return "Email{" +
                "RecipientMail=" + Arrays.toString(RecipientMail) +
                ", subject='" + subject + '\'' +
                ", contentMap=" + model +
                ", template='" + template + '\'' +
                '}';
    }
}